package com.cjm.one.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cjm.one.common.result.Result;
import com.cjm.one.model.coupon.dto.OrderCalculateDTO;
import com.cjm.one.model.coupon.vo.CouponInfoVo;
import com.cjm.one.model.coupon.vo.GoodsDiscountVO;

import java.util.List;

public interface CouponInfoService {
    Result<Page<CouponInfoVo>> getList(Long current, Long size, Integer rangeType);

    Result<List<GoodsDiscountVO>> calculateBestDiscount(OrderCalculateDTO calculateDTO);
}
